'''
写出匹配任意一个字符的正则表达式
'''
import re #内置模块re

html = """
<div>天下风云出我辈</div>
<p>一入江湖岁月催</p>
<hl>皇图霸业谈笑间</hl>
<ul>不胜人间一场醉</ul>
"""
# pattern = re.compile('[\s\S]')
# result_list = pattern.findall(html)
# print(result_list)

pattern = re.compile('.',re.S)
result_list = pattern.findall(html)
print(result_list)